import { createApp } from 'vue'
import ElementPlus from "element-plus";
import App from './App.vue'
import router from './router'
import store from './store'
import "element-plus/dist/index.css";
import "./assets/css/main.css";
import "./assets/icons/iconfont.js";

import { Store } from "vuex";

// 解决分页当中的英文
import locale from 'element-plus/dist/locale/zh-cn.mjs'

declare module "@vue/runtime-core" {
    interface State {
        count: number;
    }
    interface ComponentCustomProperties {
        $store: Store<State>;
    }
}
createApp(App).use(store).use(router).use(ElementPlus,{locale}).mount('#app')
